sub bugs_answer
{
	require "../config.pl";
	
	my $id = shift;
	my $str = shift;
	
	$dbcnx->do(qq{UPDATE bugzilla SET answer='$str', time_answer=(SELECT NOW()) WHERE id='$id'}) or die("Ошибка с сервером xepec.ru #20");
	$ath->finish();
	$dbcnx->disconnect();
	
	return 1;
}
1;